<!DOCTYPE html>
<html>
<head>
	<?php echo $this->Html->charset(); ?>
	<title>
		<?php echo $title_for_layout; ?>
	</title>
	<?php
		echo $this->Html->meta('icon');
		echo $this->Html->css('style');
		echo $this->Html->script('jquery-1.8.2.min');
		
		echo $this->fetch('meta');
		echo $this->fetch('css');
		echo $this->fetch('script');
	?>
	<script src="js/jquery-1.8.2.min.js"></script>
    <script src="js/selectnav.min.js"></script>
    <script src="js/slitslider/modernizr.custom.79639.js"></script>
    <script src="js/slitslider/jquery.ba-cond.min.js"></script>
    <script src="js/slitslider/jquery.slitslider.js"></script>
    <script src="js/jquery.prettyPhoto.js"></script>
    <script src="js/jquery.jtweetsanywhere-1.2.1.min.js"></script>
    <script src="js/default.js"></script>
</head>

<!DOCTYPE html>

<html>

<body id="blue" class="pattern1">
<div id="container">
		<div id="content">
	<div id="boxed">
    <div id="boxed"><!-- BEGIN PAGE BOXED -->
    	<header><!-- BEGIN HEADER -->
    		<!-- begin top header -->
            <div id="top_header">
                <div class="wrap">
                    
                    <nav>
                        <ul id="top_nav">
                            <li><a href="index.html" class="active">Home</a></li>
                            <li><a href="#">Features</a>
                                <ul><!-- begin 2nd level -->
                                    <li><a href="#">Pages</a>
                                        <ul class="lower_level"><!-- begin 3rd level -->
                                            <li><a href="index2.html">Home 2</a></li>
                                            <li><a href="about.html">About Us</a></li>
                                            <li><a href="services.html">Services</a></li>
                                            <li><a href="pricing-tables.html">Pricing Tables</a></li>
                                            <li><a href="404.html">404 page</a></li>
                                            <li><a href="blog-single.html">Blog Single Post</a></li>
                                            <li><a href="portfolio-single.html">Portfolio Single</a></li>
                                            <li><a href="about2.html">About Us - classic</a></li>
                                            <li><a href="contact2.html">Contact 2</a></li>
                                            <li><a href="sidebar-right.html">Sidebar Right</a></li>
                                            <li><a href="sidebar-left.html">Sidebar Left</a></li>
                                        </ul><!-- end 3rd level -->
                                    </li>
                                    <li><a href="elements.html">Elements</a></li>
                                    <li><a href="full-width.html">Full Width Columns</a></li>
                                </ul><!-- end 2nd level -->
                            </li>
                            <li><a href="portfolio.html">Portfolio</a>
                                <ul><!-- begin 2nd level -->
                                    <li><a href="portfolio.html">4 Columns</a></li>
                                    <li><a href="portfolio-3.html">3 Columns</a></li>
                                    <li><a href="portfolio-2.html">2 Columns</a></li>
                                    <li><a href="portfolio-single.html">Portfolio Single</a></li>
                                </ul><!-- end 2nd level -->
                            </li>
                            <li><a href="blog.html">Blog</a></li>
                            <li><a href="contact.html">Contact</a></li>
                        </ul>
                    </nav>
                </div>
            </div><!-- end top header -->
            <!-- begin middle header -->		
               <?php echo $this->Session->flash(); ?>
			<?php echo $this->fetch('content'); ?>
        </header><!-- END HEADER -->

        <footer><!-- BEGIN FOOTER -->
            <!-- begin bottom footer -->
            <div id="bottom_footer">
                <div class="wrap">         
                    <span class="right">This template is copyrighted.<br /> Envato - author <a href="http://themeforest.net/user/navigator" target="blank_">navigator</a> (c) 2012. Html5 &amp; CSS3</span>
                </div>
            </div><!-- end bottom footer -->

        </footer><!-- END FOOTER -->

    </div><!-- END PAGE BOXED -->
    </div>
	</div>
</body>
</html>
